<template>
  <el-form :inline="true" :model="formInline" class="demo-form-inline">
    <el-form-item label="Name">
      <el-input v-model="formInline.name" placeholder="Name"></el-input>
    </el-form-item>
    <el-form-item label="Email">
      <el-input v-model="formInline.email" placeholder="Email"></el-input>
    </el-form-item>
    <el-form-item>
      <el-button type="primary" @click="onSubmit">Query</el-button>
    </el-form-item>
  </el-form>
</template>

<script lang="ts" setup>
import { reactive, defineProps } from 'vue'

defineProps(['onFilter'])

const formInline = reactive({
  name: '',
  email: '',
})
const onSubmit = () => {
}
</script>

<style scoped>

</style>